<?php

//use Yii;
use common\models\Word;

$db = Yii::$app->db;
        $allword = $db->createCommand("SELECT count(*) FROM {{%english}}")->queryScalar();//收藏总量
        $icebreaking = Word::getIcebreakingWordCount();
        $graduatedcount = Word::getGraduatedWordCount();
        
?>


<?php
	if(isset($mobile) && $mobile){
?>
<div style="margin:0px auto; width:100%; margin-bottom:10px;">
  <div>毕业/破冰/总量：<?php echo $graduatedcount." / ".$icebreaking." / ".$allword?></div>
</div>
<?php
	}else{
?>
<div style="margin:0px auto; width:1000px; margin-bottom:10px;">
  <div>毕业/破冰/总量：<?php echo $graduatedcount." / ".$icebreaking." / ".$allword?></div>
</div>
<?php
	}
?>